﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using EventPlanner.Validation;

namespace EventPlanner.Models
{
    public class Participante : EntityBase
    {        
        [Required]
        public string Nombre { get; set; }
        [Required]
        [Email]
        public string Correo { get; set; }
        public int EventoId { get; set; }
        public virtual Evento Evento { get; set; }
        public bool Confirmado { get; set; }
        public string Usuario { get; set; }
    }
}